package edu.ynu.se.xiecheng.achitectureclass.dto;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class DataDTO {
    private Long id;
    private Date createTime;
    private Double dataValue;

    // 构造函数
    public DataDTO(Long id, Date createTime, Double dataValue) {
        this.id = id;
        this.createTime = createTime;
        this.dataValue = dataValue;
    }
}
